#include <stdio.h>
#include <stdlib.h>

int main()
{
   // printf("Hello world!\n");
   int spacenum = 0;
   int tabnum = 0;
   int enternum = 0;
   char c;
   while((c=getchar()) != EOF){
    if (c == ' ')
        spacenum ++ ;
    else if (c == '\t')
        tabnum ++;
    else if (c == '\n')
        enternum ++;
    else
        ;
   }
   printf("The result is:\n");
   printf("\tThe spacenum is : %d\n",spacenum);
   printf("\tThe tabnum is : %d\n",tabnum);
   printf("\tThe enternum is : %d\n",enternum);
    return 0;
}
